#pragma once

#include <gdiplus.h>

HCURSOR LoadCursorFromRes(UINT nResID) ;
BOOL LoadPngFromRes(UINT nResID, Gdiplus::Image **pImg);
BOOL LoadIconPngFromRes(UINT nResID, HICON& hIcon);
BOOL LoadBitmapPngFromRes(UINT nResID, HBITMAP& hBitmap);
BOOL DrawPngResToDC(CDC* pDC, UINT nResID, int nX = 0, int nY = 0);
BOOL DrawImageToDC(CDC* pDC, Gdiplus::Image *pImg, int nX = 0, int nY = 0);
